package com.zhangxx.inventory.service;

import com.zhangxx.inventory.pojo.ProductInventory;

/**
 * @ClassName ProductInventoryService
 * @Description TODO
 * @Author leizhang
 * Date 2022/3/18 15:45
 * @Version 1.0
 **/
public interface ProductInventoryService {
    ProductInventory findProductInventory(ProductInventory productInventory);

    void setProductInventoryCache(ProductInventory productInventory);

    void removeProductInventoryCache(ProductInventory productInventory);

    void updateProductInventory(ProductInventory productInventory);

    ProductInventory findProductInventoryOfCache(ProductInventory productInventory);
}
